package xyz.chenyongpeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import xyz.chenyongpeng.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户与音频产品关联表
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="ZsUserAudioRelation对象", description="用户与音频产品关联表")
public class ZsUserAudioRelation extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "uar_id", type = IdType.AUTO)
    private Integer uarId;

    private Integer uId;

    @ApiModelProperty(value = "音频产品主键")
    private Integer goodsId;

    @ApiModelProperty(value = "购买时间")
    private Integer buyTime;

    @ApiModelProperty(value = "播放次数")
    private Integer playTimes;


}
